package com.carrot.system.service.impl;

import com.carrot.common.core.domain.vo.*;
import com.carrot.system.service.IPointInfoObjService;
import com.carrot.system.service.IPointParserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;

@Service
public class PointParserServiceImpl implements IPointParserService {

    @Autowired
    private IPointInfoObjService pointInfoObjService;

    /**
     * i帧有发送和接受序列号吗？
     *
     * @param hex
     * @return
     */
    @Override
    public PointProtocolIecVo iec104(String hex) {

        PointProtocolIecVo iecVo = new PointProtocolIecVo();

        return iecVo;
    }

    @Override
    public PointProtocolIecVoV2 iec104v2(String dataset, List<String> messages) {

        PointProtocolIecVoV2 iecVo = new PointProtocolIecVoV2();

        return iecVo;
    }

    @Override
    public PointProtocolMqttVo mqtt(String topic, String json) {

        PointProtocolMqttVo mqttVo = new PointProtocolMqttVo();

        return mqttVo;
    }
}
